package com.sdkj.recruit.dao.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.data.annotation.Persistent;
import org.springframework.stereotype.Service;

import com.sdkj.recruit.dao.IMongodbDAO;
import com.sdkj.recruit.dao.IReportInfoDao;
import com.sdkj.recruit.model.ReportInfo;

@Persistent
@Service("reportInfoDao")
public class ReportInfoDao implements IReportInfoDao {

	@Autowired
	private IMongodbDAO dao;
	
	@Override
	public void report(ReportInfo report) {
		dao.saveOrUpdatePO(report);
	}

}
